package com.jnevision.handclap.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jnevision.common.CommonQuery;
import com.jnevision.handclap.model.HandClap;

/**
 * <p>
 * 随手拍 Mapper 接口
 * </p>
 *
 * @author gavin
 * @since 2019-07-16
 */
@Mapper
public interface HandClapMapper extends BaseMapper<HandClap> {

    IPage<HandClap> page(Page<HandClap> page, @Param("query") CommonQuery query);

    IPage<HandClap> pageDistributed(Page<HandClap> page, @Param("query") CommonQuery query);
}
